package com.pacy.pacybaseproject.popups;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;


import com.lxj.xpopup.core.CenterPopupView;
import com.pacy.pacybaseproject.R;

import io.reactivex.annotations.NonNull;

/**
 * @author PACY
 * @date 2024/1/16
 * description:
 */
public class ClockSuccessPopup extends CenterPopupView {
    private TextView closeTv;
    private ImageView closeIv;
    public ClockSuccessPopup(@NonNull Context context) {
        super(context);
    }

    @Override
    protected int getImplLayoutId() {
        return R.layout.clock_success_popupview;
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        closeTv=findViewById(R.id.close_tv);
        closeIv=findViewById(R.id.close_iv);
        closeTv.setOnClickListener(v -> dismiss());
        closeIv.setOnClickListener(v -> dismiss());
    }
}
